var request = require('request');
var cheerio = require('cheerio');
const { writeFile } = require('../until');
const startInsect = () => {
    request({
        url: 'https://weibo.com/breakingnews?refer_flag=1001030103_&is_all=1',
        method: 'GET',
        header: {
            'content-type': 'text/html; charset=utf-8',
            'lb': '123.125.106.66'
        }
    }, (err, response, body) => {
        console.log(body)
        const $ = cheerio.load(body);
        // const text = $('title').children[0].data;
        // console.log(text);
    })
}
startInsect();